<template>
  <el-container>
    <el-header>
      <Header></Header>
    </el-header>
    <el-container style="height: 90%">
      <el-aside width="200px"><LeftTree></LeftTree></el-aside>
      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
        <el-footer>Footer</el-footer>
      </el-container>
    </el-container>
  </el-container>
</template>
<script>
import LeftTree from "@/components/LeftTree";
import Header from "@/components/Header.vue";
export default { components: {  LeftTree,Header } };
</script>
<style>
.el-header {
  background-color: #2d3d58;
}

.el-footer {
  background-color: #2d3d58;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #2d3d58;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 60px;
  width: 100%;
  height: 100%;
}

body > .el-container {
  margin-bottom: 60px;
  width: 100%;
  height: 100%;
}
html,body,#app {
  height:100%;
}
</style>